package isquirrel.beans;

import java.util.Vector;

public class YouTubeVideo {

	private String title;
	private String id;
	private Float avgrating;
	private Long viewcount;
	private Vector<String> thumbs; 
	private String playerurl;
	
	public YouTubeVideo(String id, String title){
		
		this.title = title;
		this.id = id;
		avgrating = 0F;
		viewcount = 0L;
		thumbs = new Vector<String>();
		playerurl = null;
		
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Float getAvgRating() {
		return avgrating;
	}

	public void setAvgRating(Float avgrating) {
		this.avgrating = avgrating;
	}

	public Long getViewCount() {
		return viewcount;
	}

	public void setViewCount(Long viewcount) {
		this.viewcount = viewcount;
	}
	
	public Vector<String> thumbs(){
		return this.thumbs;
	}
	
	public String getPlayerUrl(){
		return this.playerurl;
	}
	
	public void setPlayerUrl(String url){
		this.playerurl = url;
	}	
	

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Override
	public String toString(){
		
		return "Title: " + this.title + "\n" + "Rating: " + this.avgrating;
		
	}
}
